#!/bin/bash
if [ $1 = "cache" ]; then
echo "success"
grep processor /proc/cpuinfo | wc -l 
elif [ $1 = "speed" ]; then
grep speed /proc/cpuinfo | wc -l
fi
